const Router = require('koa-router');

const Routers = new Router();

const orderRouter = require('./router/orderRouter');
const resourcesRouter = require('./router/resourcesRouter');
const productRouter = require('./router/productRouter');
const userRouter = require('./router/userRouter');
const cartRouter = require('./router/cartRouter');
const collectRouter = require('./router/collectRouter');

Routers.use(orderRouter.routes());
Routers.use(resourcesRouter.routes());
Routers.use(productRouter.routes());
Routers.use(userRouter.routes());
Routers.use(cartRouter.routes());
Routers.use(collectRouter.routes());


module.exports = Routers;